package com.secxiot.provider.task.dao;

import com.secxiot.provider.task.entity.TaskTimeNode;
import com.secxiot.provider.task.entity.TaskTimeNodeExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TaskTimeNodeDao {
    long countByExample(TaskTimeNodeExample example);

    int deleteByExample(TaskTimeNodeExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TaskTimeNode record);

    int insertSelective(TaskTimeNode record);

    List<TaskTimeNode> selectByExample(TaskTimeNodeExample example);

    TaskTimeNode selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") TaskTimeNode record, @Param("example") TaskTimeNodeExample example);

    int updateByExample(@Param("record") TaskTimeNode record, @Param("example") TaskTimeNodeExample example);

    int updateByPrimaryKeySelective(TaskTimeNode record);

    int updateByPrimaryKey(TaskTimeNode record);
}